package com.example.study.manager_plus.mybatis_plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 设备详情表
 * </p>
 *
 * @author 路飞4
 * @since 2024-06-26
 */
@Getter
@Setter
@TableName("device_info")
@ApiModel(value = "DeviceInfo对象", description = "设备详情表")
public class DeviceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("名称")
    @TableField("host_name")
    private String hostName;

    @ApiModelProperty("厂商")
    @TableField("mac_vendor")
    private String macVendor;

    @ApiModelProperty("设备型号")
    @TableField("device_model")
    private String deviceModel;

    @ApiModelProperty("mac")
    @TableField("mac_address")
    private String macAddress;

    @TableField("ip_address")
    private String ipAddress;

    @TableField("device_type")
    private String deviceType;
}
